"spacing", 12,
"no-show-all", TRUE,
NULL);
- gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (self->switcher)), "round");
+
gtk_style_context_remove_class (gtk_widget_get_style_context (GTK_WIDGET (self->switcher)), GTK_STYLE_CLASS_LINKED);
self->show_all = gtk_button_new_with_mnemonic (_("_Show All"));
* much font size specific.
*/
gtk_widget_set_size_request (widget, 34, 34);
+ gtk_style_context_add_class (gtk_widget_get_style_context (widget), "circular");
label = gtk_bin_get_child (GTK_BIN (widget));
gtk_label_set_use_underline (GTK_LABEL (label), TRUE);
}
}
-shortcutswindow .round .button {
+.button.circular {
border-radius: 20px;
outline-radius: 20px;
}
-shortcutswindow .round .button label {
+.button.circular label {
padding: 0;
}
background-origin: content-box;
background-position: right center; }
-shortcutswindow .round .button, shortcutswindow .round .header-bar .button.titlebutton, .header-bar shortcutswindow .round .button.titlebutton,
-shortcutswindow .round .titlebar .button.titlebutton,
-.titlebar shortcutswindow .round .button.titlebutton {
+.button.circular, .header-bar .circular.button.titlebutton,
+.titlebar .circular.button.titlebutton {
border-radius: 20px;
outline-radius: 20px; }
-shortcutswindow .round .button label, shortcutswindow .round .header-bar .button.titlebutton label, .header-bar shortcutswindow .round .button.titlebutton label,
-shortcutswindow .round .titlebar .button.titlebutton label,
-.titlebar shortcutswindow .round .button.titlebutton label {
+.button.circular label, .header-bar .circular.button.titlebutton label,
+.titlebar .circular.button.titlebutton label {
padding: 0; }
.frame.keycap {
background-origin: content-box;
background-position: right center; }
-shortcutswindow .round .button, shortcutswindow .round .header-bar .button.titlebutton, .header-bar shortcutswindow .round .button.titlebutton,
-shortcutswindow .round .titlebar .button.titlebutton,
-.titlebar shortcutswindow .round .button.titlebutton {
+.button.circular, .header-bar .circular.button.titlebutton,
+.titlebar .circular.button.titlebutton {
border-radius: 20px;
outline-radius: 20px; }
-shortcutswindow .round .button label, shortcutswindow .round .header-bar .button.titlebutton label, .header-bar shortcutswindow .round .button.titlebutton label,
-shortcutswindow .round .titlebar .button.titlebutton label,
-.titlebar shortcutswindow .round .button.titlebutton label {
+.button.circular label, .header-bar .circular.button.titlebutton label,
+.titlebar .circular.button.titlebutton label {
padding: 0; }
.frame.keycap {